package com.supercube.wechat.dao;

import com.supercube.wechat.domain.NotificationDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 小程序通知消息表
 * @author djzhao
 * @email 
 * @date 2019-10-30 20:25:58
 */
@Mapper
public interface NotificationDao {

	NotificationDO get(Integer id);
	
	List<NotificationDO> list(Map<String, Object> map);
	
	List<Map<String, Object>> findDataList(Map<String, Object> map);
	
	int save(NotificationDO notification);
	
	int update(NotificationDO notification);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int updateShowNum(int num);

	int getShowNum();
}
